BZ-8623, BZ-8624: use a <form> control to wrap the login/register
buttons in the navbar to match the bootstrap themes