Removing action adress from login form

For security reasons (obscurity) I needed to change the admin panel from URL
https://example.com/ads/admin to https://example.com/ads/somethingelse. 
I did this with mod_rewrite in apache. Everything worked out except the 
action path in the login form which is not needed.