Refactor 'autologin as' keyword from robot into a python keyword.