casperjs: Fix user login, registration, logout for recent masthead changes...

They are generated in javascript instead of HTML now so I don't think they are available when page loads. My fix is to wait for the User menu to appear before attempting these operations.