completed logging in with u2f

fixed issue of not being able to log in with a u2f key because of string
formatting issues. Project is completely functional.