In our company most of the server is port blocked, thus only inside developer, tester, project manager and product owner and client (spefici) can access the system. And besides we block normal or anonmous users registration and blocks google crawling.
#pop_up_auth.rb under steps_definitions
When /^Given Enable port access$/ do visit "<a href="http://google.com/users/sign_in?lan=en">http://moteel:firstname.lastname@example.org/users/sign_in?lan=en</a>" end
#In feature block, I mentioned simply,
Given Enable port access