Hi @stoianalex
If you have deactivated plugin properly it will ask below question. Do you select Yes for that ?
Would you like All In One WP Security & Firewall to restore the config settings and re-insert the security rules in your .htaccess file which were cleared when you deactivated the plugin?
If you have activated plugin and direct redirect to the rename login page it might be you have deleted aios plugin folder from wp-content/plugins which might be the reason according to me those aios settings still are in db stored and it gets applied directly when you activate the plugin.
If you remember the renamed login page please try with that other wise.
you can run below query and check aio_wp_security_configs there you can see renamed login page url as aiowps_login_page_slug
SELECT * FROM wp_options WHERE option_name LIKE ‘%aio%’
If it is hard for you you can will delete options mentioned in the below screenshots it will delete stored settings in DB regarding AIOS.
https://snipboard.io/AVyaWZ.jpg