imporved testing user login in token module