Tweaks to the login scrips make it unit testable

* Adjusted the phpdoc text for the MOTP and HOTP classes
* Made the process\login::action have a datetime resolver built in.
#todo requires unit testing :)