added unit test on buildslave.util.remove_password()

Check that remove_password() handles correctly paths with '@' sign.
small simplification of buildslave.util.remove_password()