You mean they get the "login to facebook" page instead of your app/page if they aren't logged in?
If so, you have to go to your apps setting page and set the age restriction as "Choose../Other" or similar. Don't set the predefined ones, as those will show the login. If you make changes to the same settings later and save again, remember to change the age restriction option too because it autoresets.