How to modify the .htaccess to force ssl on login and admin pages

You can use the define('FORCE_SSL_LOGIN', true); options provided by WP.
You just have to add the line in wp-config.php.
Here is the link to wordpress codex, in case that you need more examples.