more flexible login in spec helper
make integration spec work with javascript driver too
add product distribution integration test