microtime() in lieu of time() to prevent tickets created in the same second from being identical. Unit tests for /login.