fix feature spec errors due to security implementation