Fixed PageStateTest so it does not fail when run after NavigationTest
Ensured that jax-rs tests bootstrap IOC container after setting client conf.